# multistateIndicator object example

The following example shows the multistateIndicator object:

`<multistateIndicator name="MultistateIndicator1" height="91" width="205" left="8" top="275" visible="true" wallpaper="false" isReferenceObject="false" backStyle="solid" borderStyle="raisedInset" borderUsesBackColor="false" borderWidth="8" description="" shape="rectangle" triggerType="value" currentStateId="Error" setLastStateId="4" captionOnBorder="False">`

`<states>`

`<state stateId="Error" backColor="#8C0000" borderColor="#400000" patternColor="white" patternStyle="none" blink="false">`

`<caption fontFamily="Algerian" fontSize="10" bold="false" italic="false" underline="false" strikethrough="false" caption="Error" color="#FFFF80" backColor="navy" backStyle="transparent" alignment="middleCenter" wordWrap="true" blink="false" />`

`<imageSettings imageName="End" alignment="bottomCenter" backStyle="solid" color="yellow" backColor="#784000" scaled="false" blink="false" />`

`</state>`

`<state stateId="0" value="0" backColor="#80FF80" borderColor="#004000" patternColor="white" patternStyle="none" blink="false">`

`<caption fontFamily="Arial Black" fontSize="10" bold="false" italic="false" underline="true" strikethrough="false" caption="MultiState0" color="black" backColor="silver" backStyle="transparent" alignment="middleLeft" wordWrap="true" blink="false" />`

`<imageSettings imageName="Arrow Up" alignment="middleRight" backStyle="solid" color="yellow" backColor="#008C00" scaled="false" blink="false" />`

`</state>`

`<state stateId="1" value="1" backColor="#FF6800" borderColor="navy" patternColor="white"patternStyle="none" blink="false">`

`<caption fontFamily="Arial Rounded MT Bold" fontSize="10" bold="true" italic="false" underline="false" strikethrough="false" caption="MultiState1" color="white" backColor="navy" backStyle="transparent" alignment="topRight" wordWrap="true" blink="false" />`

`<imageSettings imageName="Arrow Right" alignment="bottomLeft" backStyle="transparent" color="#8C0000" backColor="#FF8080" scaled="false" blink="false" />`

`</state>`

`<state stateId="2" value="2" backColor="navy" borderColor="navy" patternColor="#FFC0FF" patternStyle="diamonds" blink="false">`

`<caption fontFamily="Gill Sans MT Ext Condensed Bold" fontSize="10" bold="true" italic="false" underline="false" strikethrough="false" caption="MultiState2" color="white" backColor="navy" backStyle="transparent" alignment="topLeft" wordWrap="true" blink="false" />`

`<imageSettings imageName="Arrow Right" alignment="bottomRight" backStyle="transparent" color="#8C008C" backColor="#C000C0" scaled="false" blink="false" />`

`</state>`

`<state stateId="3" value="3" backColor="#FFFF80" borderColor="#8C8C00" patternColor="white" patternStyle="none" blink="false">`

`<caption fontFamily="Franklin Gothic Medium Cond" fontSize="10" bold="false" italic="false" underline="false" strikethrough="false" caption="MultiState3" color="#404000" backColor="navy" backStyle="transparent" alignment="topCenter" wordWrap="true" blink="false" />`

`<imageSettings imageName="Home" alignment="bottomCenter" backStyle="transparent" color="#784000" backColor="#FF8000" scaled="false" blink="false" />`

`</state>`

`</states>`

`<animations>`

`<animateVisibility expression="n7" expressionTrueState="visible" />`

`</animations>`

`<connections>`

`<connection name="Indicator" expression="Form2\TagTest2" />`

`</connections>`

`</multistateIndicator>`

## See also

Indicator objects: multistateIndicator object

multistateIndicator object attributes and elements